package com.company.cloud.goodsrestservice.model;

import javax.persistence.*;

@Table(name = "relation_sku_order")
public class SkuOrderRel {
    @Id
    @Column(name = "sku_id")
    private Integer skuId;

    /**
     * 货品订单
     */
    @Column(name = "order_id")
    private Integer orderId;

    /**
     * @return sku_id
     */
    public Integer getSkuId() {
        return skuId;
    }

    /**
     * @param skuId
     */
    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    /**
     * 获取货品订单
     *
     * @return order_id - 货品订单
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 设置货品订单
     *
     * @param orderId 货品订单
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
}